package org.example.model.user.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;

/**
 * 用户抽奖
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@Setter
@Getter
@TableName("user_luckydraw")
public class UserLuckyDraw implements Serializable {
    @TableId(value = "user_luckydraw_id", type = IdType.AUTO)
    private Integer pkId;
    @TableField("luckydraw_id")
    private Integer LuckyDrawId;
    @TableField("user_id")
    private Integer userId;
    @TableField("user_luckydraw_time")
    private Data LuckyDrawTime;
    @TableField("is_winner")
    private Short isWinner;
    @TableField("prize_id")
    private Integer prizeId;
}
